package com.jackiechancinema.ssm.service.Inte;

import com.jackiechancinema.ssm.bo.OrderBO;
import com.jackiechancinema.ssm.dto.OrderExcelDto;
import com.jackiechancinema.ssm.entity.Order;
import com.jackiechancinema.ssm.vo.PageVo;
import com.jackiechancinema.ssm.vo.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public interface OrderService {
    PageVo<Order> page(int page, int limit);

    R delete(int id, HttpSession session);

    R add(Order order,HttpSession session);

    PageVo<Order> page(OrderBO orderBO);

    //文件上传-批量新增
    R batchadd(MultipartFile file,HttpSession session);

    void exportExcel(OrderBO o, HttpServletResponse response);

    R update(Order order,HttpSession session);
}
